import 'package:core_demo/main.dart';
import 'package:core_demo/page/test/first/first_page.dart';
import 'package:core_demo/page/test/fourth/fourth_page.dart';
import 'package:core_demo/page/test/home/home_page.dart';
import 'package:core_demo/page/test/second/second_page.dart';
import 'package:core_demo/page/test/third/third_page.dart';
import 'package:flutter/material.dart';

class RouteName{
  static const String home = '/';
  static const String first = 'first';
  static const String second = 'second';
  static const String third = 'third';
  static const String fourth = 'fourth';
}

final Map<String, WidgetBuilder> routes = {
  RouteName.home:(context, {arguments}) => HomePage(),
  RouteName.first:(context, {arguments}) => FirstPage(),
  RouteName.second:(context, {arguments}) => SecondPage(),
  RouteName.third:(context, {arguments}) => ThirdPage(),
  RouteName.fourth:(context,{arguments}) => FourthPage(),
};
